<template>
    <div class="payment_gift">
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/market/marketingPlay' }"><i class="el-icon-lx-cascades"></i>营销玩法</el-breadcrumb-item>
            <el-breadcrumb-item :to="{ path: '/payGifts' }">支付有礼</el-breadcrumb-item>
            <el-breadcrumb-item v-if="pageType == 'create'">创建</el-breadcrumb-item>
        </el-breadcrumb>
        <router-view></router-view>
    </div>
</template>

<script>
export default {
    data() {
        return {
            pageType: '',
        }   
    },
    watch: {
        $route: {
            handler(newVal,oldVal){
                this.pageType = newVal.query.type || '';
            },
            immediate: true
        }
    },
    mounted() {
        
    },
    methods: {
        
    },
};
</script>

<style lang="scss" scoped>
.payment_gift{
    
}
</style>